﻿using System;
using System.Collections.Generic;
using System.Web;
using Microsoft.Practices.Unity;

namespace DataLayerUnity
{
  public class HanhDTOLayer:IDTOLayer
  {
    IDataLayer _dataLayer = null;

    [InjectionConstructor]
    public HanhDTOLayer(IUnityContainer container)
    {
      _dataLayer = container.Resolve<IDataLayer>("Hanh");
    }

    public string GetData()
    {
      return _dataLayer.GetData();
    }
  }
}
